﻿/* ==========================================================================
   Medicine Delivery App Development — page styles
   Dark theme flow (default for new sections)
   ========================================================================== */

:root {
    --md-accent: var(--primary-colors-orange, #ff9f0a);
    --md-accent-dark: var(--primary-colors-orange-dark, #e88700);
    --md-bg: #131313;
    --md-bg-alt: transparent;
}

/* --- Impact stats + compliance --- */
.md-stats-section {
    --md-stats-text: #ffffff;
    --md-stats-muted: rgba(255, 255, 255, 0.78);
    --md-stats-body: rgba(255, 255, 255, 0.68);
    --md-stats-border: rgba(255, 255, 255, 0.12);
    --md-stats-surface: rgba(255, 255, 255, 0.045);
    position: relative;
    overflow: visible;
    background: var(--md-bg);
    color: var(--md-stats-text);
}

.md-stats-section .container {
    overflow: visible;
}

.md-stats-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(28px, 4vw, 48px);
    align-items: start;
}

.md-stats-left {
    position: sticky;
    top: 180px;
    align-self: start;
    z-index: 2;
}

.md-stats-title {
    margin: 0 0 14px;
    color: var(--md-stats-text);
}


.md-stats-intro {
    margin: 0;
    max-width: 42ch;
    color: var(--md-stats-muted);
    line-height: 1.7;
}

.md-stats-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.md-stats-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 10px;
    padding: clamp(22px, 2.4vw, 28px) clamp(20px, 2.2vw, 28px);
    border-radius: 18px;
    border: 1px solid var(--md-stats-border);
    background: var(--md-stats-surface);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.md-stats-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 159, 10, 0.4);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.md-stats-num {
    display: block;
    margin: 0;
    font-family: var(--bold, inherit);
    font-size: clamp(24px, 2.4vw, 30px);
    font-weight: normal;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--md-accent);
}

.md-stats-label {
    margin: 0;
    color: var(--md-stats-text);
    line-height: 1.35;
}

.md-stats-desc {
    margin: 0;
    color: var(--md-stats-body);
    font-size: 15px;
    line-height: 1.65;
}

.md-stats-badges {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.md-stats-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-family: var(--medium, inherit);
    font-size: 12px;
    letter-spacing: 0.02em;
    line-height: 1;
    white-space: nowrap;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.md-stats-badge:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 159, 10, 0.4);
}

/* --- Digital pharmacy solutions --- */
.md-solutions-section {
    --md-sol-text: #ffffff;
    --md-sol-muted: rgba(255, 255, 255, 0.78);
    --md-sol-body: rgba(255, 255, 255, 0.68);
    --md-sol-border: rgba(255, 255, 255, 0.12);
    --md-sol-surface: rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
    background: var(--md-bg-alt);
    color: var(--md-sol-text);
}

.md-solutions-head {
    max-width: 860px;
    margin: 0 auto clamp(36px, 4vw, 52px);
    text-align: center;
}

.md-solutions-title {
    margin: 0 0 14px;
    color: var(--md-sol-text);
}


.md-solutions-intro {
    margin: 0 auto;
    max-width: 78ch;
    color: var(--md-sol-muted);
    line-height: 1.7;
}

.md-solutions-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 22px);
}

.md-solutions-card {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    height: 100%;
    padding: clamp(22px, 2.4vw, 28px);
    border-radius: 18px;
    border: 1px solid var(--md-sol-border);
    background: var(--md-sol-surface);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.md-solutions-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 159, 10, 0.4);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.md-solutions-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 159, 10, 0.14);
    border: 1px solid rgba(255, 159, 10, 0.3);
    color: var(--md-accent);
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
    transition: background 0.25s ease, transform 0.25s ease;
}

.md-solutions-card:hover .md-solutions-icon {
    background: rgba(255, 159, 10, 0.22);
    transform: scale(1.05);
}

.md-solutions-card-title {
    margin: 0;
    color: var(--md-sol-text);
    font-size: clamp(17px, 1.2vw, 19px);
    line-height: 1.35;
}

.md-solutions-card-desc {
    margin: 0;
    color: var(--md-sol-body);
    font-size: 15px;
    line-height: 1.65;
}

/* --- Market CTA banner --- */
.md-cta-section {
    --md-cta-text: #ffffff;
    --md-cta-muted: rgba(255, 255, 255, 0.78);
    position: relative;
    background: var(--md-bg);
}

.md-cta-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 28px;
    padding: clamp(40px, 5.5vw, 72px) clamp(24px, 4vw, 56px);
    text-align: center;
    background:
        radial-gradient(ellipse 55% 70% at 0% 0%, rgba(255, 159, 10, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 45% 60% at 100% 100%, rgba(255, 159, 10, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, #0c0c0c 0%, #15110a 48%, #1a1408 100%);
    border: 1px solid rgba(255, 159, 10, 0.22);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.md-cta-shape {
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(255, 159, 10, 0.18);
    background: rgba(255, 159, 10, 0.06);
    pointer-events: none;
    z-index: 0;
    will-change: transform, opacity;
}

.md-cta-shape--1 {
    width: 120px;
    height: 42px;
    top: 28px;
    left: 36px;
    animation: md-cta-float-a 5.5s ease-in-out infinite;
}

.md-cta-shape--2 {
    width: 88px;
    height: 34px;
    bottom: 36px;
    left: 72px;
    opacity: 0.7;
    animation: md-cta-float-b 6.5s ease-in-out infinite;
}

.md-cta-shape--3 {
    width: 110px;
    height: 38px;
    bottom: 42px;
    right: 48px;
    opacity: 0.65;
    animation: md-cta-float-c 7s ease-in-out infinite;
}

@keyframes md-cta-float-a {

    0%,
    100% {
        transform: rotate(-18deg) translate(0, 0);
        opacity: 0.55;
    }

    50% {
        transform: rotate(-12deg) translate(10px, -12px);
        opacity: 0.9;
    }
}

@keyframes md-cta-float-b {

    0%,
    100% {
        transform: rotate(14deg) translate(0, 0);
        opacity: 0.5;
    }

    50% {
        transform: rotate(8deg) translate(-8px, 10px);
        opacity: 0.85;
    }
}

@keyframes md-cta-float-c {

    0%,
    100% {
        transform: rotate(-12deg) translate(0, 0);
        opacity: 0.45;
    }

    50% {
        transform: rotate(-18deg) translate(8px, -10px);
        opacity: 0.8;
    }
}

.md-cta-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 820px;
    margin: 0 auto;
}

.md-cta-eyebrow {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--medium, inherit);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.md-cta-stat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.md-cta-stat-value {
    font-family: var(--bold, inherit);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: normal;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--md-accent);
}

.md-cta-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--md-accent);
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1;
}

.md-cta-stat-meta {
    color: var(--md-cta-text);
    font-family: var(--medium, inherit);
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.2;
}

.md-cta-market {
    margin: 0;
    max-width: 62ch;
    color: var(--md-cta-muted);
    font-size: clamp(14px, 1.05vw, 16px);
    line-height: 1.65;
}

.md-cta-title {
    margin: 8px 0 4px;
    color: var(--md-cta-text);
    font-size: clamp(24px, 2.8vw, 40px);
    line-height: 1.2;
}

.md-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    border: 0;
    background: linear-gradient(135deg, var(--md-accent) 0%, var(--md-accent-dark) 100%);
    color: #141212 !important;
    font-family: var(--bold, inherit);
    font-size: 16px;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(255, 159, 10, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.md-cta-btn i {
    font-size: 18px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.md-cta-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 16px 34px rgba(255, 159, 10, 0.38);
    color: #141212 !important;
}

.md-cta-btn:hover i {
    transform: translateX(3px);
}

/* CTA-4 heading — smaller for long pharmacy market title */
.cta-section.cta-4 .cta-des-top .h2-headline {
    font-size: clamp(22px, 1vw + 14px, 32px);
    line-height: 1.3;
}

/* =========================================================
   Market CTA — girl image banner
   ========================================================= */
.md-market-cta-section {
    --md-mkt-text: #ffffff;
    --md-mkt-body: rgba(255, 255, 255, 0.82);
    position: relative;
    background: var(--md-bg-alt);
}

.md-market-cta {
    position: relative;
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.2fr);
    align-items: end;
    gap: clamp(20px, 3vw, 40px);
    min-height: 320px;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255, 159, 10, 0.22);
    background:
        radial-gradient(ellipse 55% 90% at 100% 0%, rgba(255, 159, 10, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 40% 70% at 0% 100%, rgba(255, 159, 10, 0.1) 0%, transparent 50%),
        linear-gradient(125deg, #1a1208 0%, #24180c 48%, #16100a 100%);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
}

.md-market-cta-visual {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    align-self: stretch;
    min-height: 280px;
    padding: 0 0 0 clamp(8px, 1.5vw, 20px);
}

.md-market-cta-visual img {
    display: block;
    width: auto;
    max-width: 100%;
    height: clamp(280px, 34vw, 380px);
    object-fit: contain;
    object-position: bottom center;
}

.md-market-cta-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: clamp(28px, 4vw, 48px) clamp(24px, 3.5vw, 48px) clamp(28px, 4vw, 48px) 0;
}

.md-market-cta-title {
    margin: 0;
    max-width: 22ch;
    color: var(--md-mkt-text);
    font-size: clamp(24px, 2.4vw, 36px);
    line-height: 1.25;
}


.md-market-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(135deg, var(--md-accent) 0%, var(--md-accent-dark) 100%);
    color: #111;
    font-family: var(--bold, inherit);
    font-size: 15px;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(255, 159, 10, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.md-market-cta-btn .ti {
    font-size: 18px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.md-market-cta-btn:hover {
    color: #111;
    filter: brightness(1.05);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(255, 159, 10, 0.36);
    text-decoration: none;
}

.md-market-cta-btn:hover .ti {
    transform: translateX(3px);
}

/* =========================================================
   Mid-page banner CTA — creative dark (no image)
   ========================================================= */
.md-banner-cta {
    --md-ban-text: #ffffff;
    --md-ban-body: rgba(255, 255, 255, 0.78);
    position: relative;
    background: var(--md-bg-alt);
}

.md-banner-cta__shell {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 28px;
    border: 1px solid rgba(255, 159, 10, 0.22);
    background:
        radial-gradient(ellipse 50% 80% at 0% 50%, rgba(255, 159, 10, 0.2) 0%, transparent 55%),
        radial-gradient(ellipse 45% 70% at 100% 40%, rgba(255, 159, 10, 0.12) 0%, transparent 50%),
        linear-gradient(125deg, #0c0c0c 0%, #15110a 45%, #1a1408 100%);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.42);
}

.md-banner-cta__grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 15%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 15%, transparent 75%);
    opacity: 0.7;
}

.md-banner-cta__orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(2px);
}

.md-banner-cta__orb--1 {
    width: 200px;
    height: 200px;
    top: -60px;
    right: 12%;
    background: radial-gradient(circle, rgba(255, 159, 10, 0.42) 0%, transparent 70%);
    animation: mdBannerOrb 8s ease-in-out infinite;
}

.md-banner-cta__orb--2 {
    width: 140px;
    height: 140px;
    bottom: -40px;
    left: 8%;
    background: radial-gradient(circle, rgba(255, 159, 10, 0.28) 0%, transparent 70%);
    animation: mdBannerOrb 10s ease-in-out infinite reverse;
}

.md-banner-cta__orb--3 {
    width: 72px;
    height: 72px;
    top: 38%;
    left: 42%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    animation: mdBannerOrb 7s ease-in-out infinite 1s;
}

.md-banner-cta__ring {
    position: absolute;
    width: min(380px, 68vw);
    height: min(380px, 68vw);
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    border-radius: 50%;
    border: 1px dashed rgba(255, 159, 10, 0.3);
    pointer-events: none;
    z-index: 0;
    animation: mdBannerRing 26s linear infinite;
}

.md-banner-cta__ring::before,
.md-banner-cta__ring::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.md-banner-cta__ring::before {
    inset: 18%;
}

.md-banner-cta__ring::after {
    inset: 36%;
    border-style: dashed;
    border-color: rgba(255, 159, 10, 0.18);
}

.md-banner-cta__panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    max-width: 720px;
    padding: clamp(44px, 5.5vw, 72px) clamp(24px, 4vw, 56px);
}

.md-banner-cta__title {
    margin: 0;
    color: var(--md-ban-text);
    line-height: 1.2;
}


.md-banner-cta__lead {
    margin: 0;
    max-width: 52ch;
    color: var(--md-ban-body);
    line-height: 1.7;
}

.md-banner-cta__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
    padding: 15px 30px;
    overflow: hidden;
    border-radius: 12px;
    border: 0;
    background: linear-gradient(135deg, var(--md-accent) 0%, var(--md-accent-dark) 100%);
    color: #141212 !important;
    font-family: var(--bold, inherit);
    font-size: 16px;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 14px 32px rgba(255, 159, 10, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.md-banner-cta__btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    animation: mdBannerSheen 3.6s ease-in-out infinite;
}

.md-banner-cta__btn i {
    position: relative;
    font-size: 18px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.md-banner-cta__btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 18px 38px rgba(255, 159, 10, 0.4);
    color: #141212 !important;
}

.md-banner-cta__btn:hover i {
    transform: translateX(3px);
}

@keyframes mdBannerOrb {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(12px, -14px) scale(1.06);
    }
}

@keyframes mdBannerRing {
    from {
        transform: translateY(-50%) rotate(0deg);
    }

    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

@keyframes mdBannerSheen {

    0%,
    40% {
        left: -40%;
    }

    70%,
    100% {
        left: 130%;
    }
}

/* --- Industries tabs --- */
.md-industries-section {
    --md-ind-check: var(--primary-colors-green, #41c979);
    --md-ind-text: #ffffff;
    --md-ind-muted: rgba(255, 255, 255, 0.78);
    --md-ind-body: rgba(255, 255, 255, 0.7);
    --md-ind-border: rgba(255, 255, 255, 0.14);
    --md-ind-surface: rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
    background: var(--md-bg-alt);
    color: var(--md-ind-text);
}

.md-industries-head {
    max-width: 880px;
    margin: 0 auto clamp(32px, 4vw, 48px);
    text-align: center;
}

.md-industries-title {
    margin: 0 0 14px;
    color: var(--md-ind-text);
}


.md-industries-intro {
    margin: 0 auto;
    max-width: 76ch;
    color: var(--md-ind-muted);
    line-height: 1.7;
}

.md-industries-shell {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: clamp(18px, 2.5vw, 28px);
    align-items: stretch;
}

.md-industries-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 10px;
    border-radius: 18px;
    border: 1px solid var(--md-ind-border);
    background: rgba(255, 255, 255, 0.04);
}

.md-industries-tab {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--md-ind-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.md-industries-tab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 17px;
    line-height: 1;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.md-industries-tab-icon--orange {
    background: rgba(255, 159, 10, 0.18);
    color: #ff9f0a;
}

.md-industries-tab-icon--blue {
    background: rgba(56, 132, 255, 0.18);
    color: #5ba0ff;
}

.md-industries-tab-icon--green {
    background: rgba(65, 201, 121, 0.18);
    color: #41c979;
}

.md-industries-tab-icon--purple {
    background: rgba(168, 85, 247, 0.18);
    color: #c084fc;
}

.md-industries-tab-icon--teal {
    background: rgba(20, 184, 166, 0.18);
    color: #2dd4bf;
}

.md-industries-tab-icon--cyan {
    background: rgba(34, 211, 238, 0.16);
    color: #22d3ee;
}

.md-industries-tab-icon--pink {
    background: rgba(244, 114, 182, 0.18);
    color: #f472b6;
}

.md-industries-tab:hover {
    border-color: rgba(255, 159, 10, 0.35);
    background: rgba(255, 255, 255, 0.06);
}

.md-industries-tab.is-active {
    background: var(--md-accent);
    border-color: var(--md-accent);
    color: #141212;
    font-family: var(--medium, inherit);
}

.md-industries-tab.is-active .md-industries-tab-icon {
    background: rgba(20, 18, 18, 0.18);
    color: #141212;
    box-shadow: none;
}

.md-industries-panels {
    border-radius: 20px;
    border: 1px solid rgba(255, 159, 10, 0.2);
    background: rgba(255, 255, 255, 0.055);
    padding: clamp(24px, 3vw, 36px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
    min-height: 100%;
}

.md-industries-panel {
    display: none;
}

.md-industries-panel.is-active {
    display: block;
}

.md-industries-panel-title {
    margin: 0 0 20px;
    color: var(--md-ind-text);
    font-size: clamp(18px, 1.4vw, 22px);
    line-height: 1.3;
}

.md-industries-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 22px;
}

.md-industries-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--md-ind-body);
    font-size: 15px;
    line-height: 1.55;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.md-industries-list li:hover {
    border-color: rgba(255, 159, 10, 0.28);
    background: rgba(255, 159, 10, 0.06);
    transform: translateY(-1px);
}

.md-industries-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    margin-top: 0;
    border-radius: 10px;
    background: rgba(255, 159, 10, 0.16);
    border: 1px solid rgba(255, 159, 10, 0.35);
    color: var(--md-accent);
}

.md-industries-check--orange {
    background: rgba(255, 159, 10, 0.16);
    border-color: rgba(255, 159, 10, 0.35);
    color: #ff9f0a;
}

.md-industries-check--blue {
    background: rgba(56, 132, 255, 0.16);
    border-color: rgba(56, 132, 255, 0.35);
    color: #5ba0ff;
}

.md-industries-check--green {
    background: rgba(65, 201, 121, 0.16);
    border-color: rgba(65, 201, 121, 0.35);
    color: #41c979;
}

.md-industries-check--purple {
    background: rgba(168, 85, 247, 0.16);
    border-color: rgba(168, 85, 247, 0.35);
    color: #c084fc;
}

.md-industries-check--teal {
    background: rgba(20, 184, 166, 0.16);
    border-color: rgba(20, 184, 166, 0.35);
    color: #2dd4bf;
}

.md-industries-check--cyan {
    background: rgba(34, 211, 238, 0.14);
    border-color: rgba(34, 211, 238, 0.35);
    color: #22d3ee;
}

.md-industries-check--pink {
    background: rgba(244, 114, 182, 0.16);
    border-color: rgba(244, 114, 182, 0.35);
    color: #f472b6;
}

.md-industries-check i {
    font-size: 16px;
    line-height: 1;
    color: inherit;
}

.md-industries-list li:hover .md-industries-check {
    filter: brightness(1.15);
}

/* =========================================================
   Process timeline — End-to-End development
   ========================================================= */
.md-process-section {
    --md-proc-text: #ffffff;
    --md-proc-body: rgba(255, 255, 255, 0.78);
    --md-proc-muted: rgba(255, 255, 255, 0.68);
    --md-proc-line: rgba(255, 255, 255, 0.14);
    --md-proc-border: rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: visible;
    background: var(--md-bg);
    color: var(--md-proc-text);
}

.md-process-section .container {
    overflow: visible;
}

.md-process-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 4vw, 48px);
    align-items: start;
}

.md-process-head {
    position: sticky;
    top: 180px;
    max-width: none;
    margin: 0;
    text-align: left;
}

.md-process-title {
    margin: 0 0 14px;
    color: var(--md-proc-text);
}


.md-process-intro {
    margin: 0;
    max-width: 42ch;
    color: var(--md-proc-body);
    line-height: 1.7;
}

.md-process-timeline {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: none;
    width: 100%;
}

.md-process-timeline::before {
    content: "";
    position: absolute;
    top: 22px;
    bottom: 22px;
    left: 23px;
    width: 2px;
    background: linear-gradient(180deg,
            rgba(255, 159, 10, 0.45) 0%,
            rgba(255, 255, 255, 0.14) 40%,
            rgba(255, 159, 10, 0.35) 100%);
}

.md-process-step {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: clamp(18px, 2.5vw, 28px);
    align-items: start;
    padding-bottom: clamp(36px, 4.5vw, 52px);
}

.md-process-step:last-child {
    padding-bottom: 0;
}

.md-process-marker {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffb84a 0%, var(--md-accent) 50%, var(--md-accent-dark) 100%);
    color: #141212;
    box-shadow:
        0 8px 20px rgba(255, 159, 10, 0.35),
        0 0 0 6px rgba(255, 159, 10, 0.12);
}

.md-process-marker i {
    font-size: 22px;
    line-height: 1;
}

.md-process-content {
    padding-top: 4px;
}

.md-process-step-title {
    margin: 0 0 8px;
    color: var(--md-proc-text);
    font-family: var(--bold, inherit);
    font-size: clamp(18px, 1.4vw, 22px);
    line-height: 1.3;
}

.md-process-step-text {
    margin: 0 0 16px;
    max-width: 58ch;
    color: var(--md-proc-muted);
    font-size: 15px;
    line-height: 1.65;
}

.md-process-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.md-process-tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--md-proc-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--md-proc-body);
    font-family: var(--medium, inherit);
    font-size: 13px;
    line-height: 1.3;
}

.md-process-duration {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 159, 10, 0.14);
    border: 1px solid rgba(255, 159, 10, 0.28);
    color: var(--md-accent);
    font-family: var(--bold, inherit);
    font-size: 13px;
    line-height: 1.3;
}

/* =========================================================
   Technologies grid
   ========================================================= */
.md-tech-section {
    --md-tech-text: #ffffff;
    --md-tech-body: rgba(255, 255, 255, 0.78);
    --md-tech-muted: rgba(255, 255, 255, 0.68);
    --md-tech-border: rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
    background: var(--md-bg);
    color: var(--md-tech-text);
}

.md-tech-head {
    max-width: 880px;
    margin: 0 auto clamp(36px, 4.5vw, 52px);
    text-align: center;
}

.md-tech-title {
    margin: 0 0 14px;
    color: var(--md-tech-text);
}


.md-tech-intro {
    margin: 0 auto;
    max-width: 76ch;
    color: var(--md-tech-body);
    line-height: 1.7;
}

.md-tech-switcher {
    display: flex;
    flex-direction: column;
    gap: clamp(28px, 3.5vw, 40px);
    max-width: 1080px;
    margin: 0 auto;
}

.md-tech-rail {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.md-tech-rail-btn {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 88px;
    margin: 0;
    padding: 6px 8px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: color 0.25s ease, transform 0.25s ease;
}

.md-tech-rail-btn:hover {
    color: rgba(255, 255, 255, 0.9);
}

.md-tech-rail-btn.is-active {
    color: #fff;
}

.md-tech-rail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    font-size: 24px;
    box-shadow: none;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease,
        filter 0.25s ease;
}

.md-tech-tone--purple {
    background: rgba(168, 85, 247, 0.16);
    border: 1px solid rgba(168, 85, 247, 0.35);
    color: #c084fc;
}

.md-tech-tone--blue {
    background: rgba(56, 132, 255, 0.16);
    border: 1px solid rgba(56, 132, 255, 0.35);
    color: #5ba0ff;
}

.md-tech-tone--cyan {
    background: rgba(34, 211, 238, 0.14);
    border: 1px solid rgba(34, 211, 238, 0.35);
    color: #22d3ee;
}

.md-tech-tone--green {
    background: rgba(65, 201, 121, 0.16);
    border: 1px solid rgba(65, 201, 121, 0.35);
    color: #41c979;
}

.md-tech-tone--orange {
    background: rgba(255, 159, 10, 0.16);
    border: 1px solid rgba(255, 159, 10, 0.35);
    color: #ff9f0a;
}

.md-tech-tone--pink {
    background: rgba(244, 114, 182, 0.16);
    border: 1px solid rgba(244, 114, 182, 0.35);
    color: #f472b6;
}

.md-tech-rail-btn:hover .md-tech-rail-icon {
    filter: brightness(1.15);
    transform: translateY(-2px);
}

.md-tech-rail-btn.is-active .md-tech-rail-icon {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
    filter: brightness(1.2);
}

.md-tech-rail-btn.is-active .md-tech-tone--purple {
    background: #a855f7;
    border-color: #a855f7;
    color: #fff;
    box-shadow: 0 10px 28px rgba(168, 85, 247, 0.4), 0 0 0 6px rgba(168, 85, 247, 0.14);
}

.md-tech-rail-btn.is-active .md-tech-tone--blue {
    background: #3884ff;
    border-color: #3884ff;
    color: #fff;
    box-shadow: 0 10px 28px rgba(56, 132, 255, 0.4), 0 0 0 6px rgba(56, 132, 255, 0.14);
}

.md-tech-rail-btn.is-active .md-tech-tone--cyan {
    background: #06b6d4;
    border-color: #06b6d4;
    color: #fff;
    box-shadow: 0 10px 28px rgba(6, 182, 212, 0.4), 0 0 0 6px rgba(6, 182, 212, 0.14);
}

.md-tech-rail-btn.is-active .md-tech-tone--green {
    background: #41c979;
    border-color: #41c979;
    color: #141212;
    box-shadow: 0 10px 28px rgba(65, 201, 121, 0.4), 0 0 0 6px rgba(65, 201, 121, 0.14);
}

.md-tech-rail-btn.is-active .md-tech-tone--orange {
    background: #ff9f0a;
    border-color: #ff9f0a;
    color: #141212;
    box-shadow: 0 10px 28px rgba(255, 159, 10, 0.4), 0 0 0 6px rgba(255, 159, 10, 0.14);
}

.md-tech-rail-btn.is-active .md-tech-tone--pink {
    background: #f472b6;
    border-color: #f472b6;
    color: #141212;
    box-shadow: 0 10px 28px rgba(244, 114, 182, 0.4), 0 0 0 6px rgba(244, 114, 182, 0.14);
}

.md-tech-rail-label {
    font-family: var(--medium, inherit);
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.md-tech-stage {
    position: relative;
    border-radius: 24px;
    border: 1px solid rgba(255, 159, 10, 0.2);
    background:
        radial-gradient(ellipse 55% 70% at 0% 0%, rgba(255, 159, 10, 0.14) 0%, transparent 55%),
        rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
    min-height: 260px;
    overflow: hidden;
}

.md-tech-panel {
    display: none;
    grid-template-columns: 1fr;
    gap: clamp(20px, 2.5vw, 28px);
    padding: clamp(28px, 3.8vw, 48px);
    animation: mdTechPanelIn 0.35s ease;
}

.md-tech-panel.is-active {
    display: grid;
}

.md-tech-panel-copy {
    max-width: none;
}

.md-tech-panel-title {
    margin: 0 0 12px;
    color: var(--md-tech-text);
    font-family: var(--bold, inherit);
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.25;
}

.md-tech-panel-text {
    margin: 0;
    max-width: 72ch;
    color: var(--md-tech-muted);
    font-size: 15px;
    line-height: 1.7;
}

.md-tech-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 20px;
    align-content: start;
}

.md-tech-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--md-tech-body);
    font-size: 14px;
    line-height: 1.45;
}

.md-tech-feat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1;
}

.md-tech-feat-icon i {
    font-size: inherit;
    line-height: 1;
    color: inherit;
}

@keyframes mdTechPanelIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   Technology stack tags
   ========================================================= */
.md-stack-section {
    --md-stack-text: #ffffff;
    --md-stack-body: rgba(255, 255, 255, 0.82);
    --md-stack-muted: rgba(255, 255, 255, 0.7);
    --md-stack-border: rgba(255, 255, 255, 0.14);
    position: relative;
    overflow: hidden;
    background: var(--md-bg-alt);
    color: var(--md-stack-text);
}

.md-stack-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 15%, transparent 75%);
    pointer-events: none;
    z-index: 0;
}

.md-stack-section .container {
    position: relative;
    z-index: 1;
}

.md-stack-head {
    max-width: 880px;
    margin: 0 auto clamp(28px, 4vw, 40px);
    text-align: center;
}

.md-stack-title {
    margin: 0 0 14px;
    color: var(--md-stack-text);
}

.md-stack-intro {
    margin: 0 auto;
    max-width: 68ch;
    color: var(--md-stack-body);
    line-height: 1.7;
}

.md-stack-switcher {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
}

.md-stack-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    border-radius: 18px;
    max-height: 460px;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.md-stack-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    font-family: var(--medium, inherit);
    font-size: 14px;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.md-stack-tab .ti {
    flex-shrink: 0;
    font-size: 17px;
    line-height: 1;
    color: var(--md-accent);
}

.md-stack-tab:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.md-stack-tab.is-active {
    background: rgba(255, 159, 10, 0.12);
    border-color: rgba(255, 159, 10, 0.45);
    color: #fff;
}

.md-stack-panels {
    min-height: 100%;
}

.md-stack-panel {
    display: none;
    height: 100%;
    min-height: 420px;
    padding: clamp(24px, 3vw, 32px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.md-stack-panel.is-active {
    display: flex;
    flex-direction: column;
}

.md-stack-panel-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 22px;
    flex-shrink: 0;
}

.md-stack-panel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(255, 159, 10, 0.14);
    border: 1px solid rgba(255, 159, 10, 0.28);
    color: var(--md-accent);
    font-size: 20px;
    line-height: 1;
}

.md-stack-panel-title {
    margin: 0;
    color: #fff;
    font-family: var(--bold, inherit);
    font-size: clamp(20px, 1.8vw, 26px);
    line-height: 1.25;
}

.md-stack-pills {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-content: stretch;
}

.md-stack-pills li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0;
    min-height: 140px;
    padding: 22px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    font-family: var(--medium, inherit);
    font-size: 14px;
    line-height: 1.3;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.md-stack-pills li img {
    display: block;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
}

.md-stack-pills li span {
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1.35;
    word-break: break-word;
}

.md-stack-pills li:hover {
    transform: translateY(-3px);
    background: rgba(255, 159, 10, 0.1);
    border-color: rgba(255, 159, 10, 0.4);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

/* =========================================================
   Enterprise platforms — signal bands
   ========================================================= */
.md-platforms-section {
    --md-plat-text: #ffffff;
    --md-plat-body: rgba(255, 255, 255, 0.78);
    position: relative;
    overflow: hidden;
    background: var(--md-bg);
    color: var(--md-plat-text);
}

.md-platforms-head {
    max-width: 860px;
    margin: 0 auto clamp(32px, 4vw, 48px);
    text-align: center;
}

.md-platforms-title {
    margin: 0 0 14px;
    color: var(--md-plat-text);
}


.md-platforms-intro {
    margin: 0 auto;
    max-width: 68ch;
    color: var(--md-plat-body);
    line-height: 1.7;
}

.md-platforms-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.md-platforms-list li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 11px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--medium, inherit);
    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.md-platforms-list li .ti {
    font-size: 17px;
    line-height: 1;
}

.md-platforms-list li:nth-child(6n + 1) .ti {
    color: #ff9f0a;
}

.md-platforms-list li:nth-child(6n + 2) .ti {
    color: #5ba0ff;
}

.md-platforms-list li:nth-child(6n + 3) .ti {
    color: #41c979;
}

.md-platforms-list li:nth-child(6n + 4) .ti {
    color: #c084fc;
}

.md-platforms-list li:nth-child(6n + 5) .ti {
    color: #22d3ee;
}

.md-platforms-list li:nth-child(6n + 6) .ti {
    color: #f472b6;
}

.md-platforms-list li:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 159, 10, 0.35);
    color: #fff;
}

/* =========================================================
   Security & compliance layers
   ========================================================= */
.md-security-section {
    --md-sec-text: #ffffff;
    --md-sec-body: rgba(255, 255, 255, 0.78);
    --md-sec-muted: rgba(255, 255, 255, 0.68);
    position: relative;
    overflow: hidden;
    background: var(--md-bg-alt);
    color: var(--md-sec-text);
}

.md-security-head {
    max-width: 860px;
    margin: 0 auto 28px;
    text-align: center;
}

.md-security-title {
    margin: 0 0 14px;
    color: var(--md-sec-text);
}


.md-security-intro {
    margin: 0 auto;
    max-width: 74ch;
    color: var(--md-sec-body);
    line-height: 1.7;
}

.md-security-model {
    margin: 0 auto clamp(28px, 3.5vw, 40px);
}

.md-security-eyebrow {
    margin: 0 0 16px;
    color: var(--md-accent);
    font-family: var(--bold, inherit);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
}

.md-security-layers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.md-security-layer {
    position: relative;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    min-height: 0;
    padding: 16px 18px;
    overflow: hidden;
    border-radius: 14px;
    background:
        linear-gradient(145deg, rgba(255, 159, 10, 0.08) 0%, transparent 42%),
        rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.md-security-layer:hover {
    background:
        linear-gradient(145deg, rgba(255, 159, 10, 0.12) 0%, transparent 45%),
        rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 159, 10, 0.35);
    transform: translateY(-2px);
}

.md-security-layer-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: rgba(255, 159, 10, 0.14);
    border: 1px solid rgba(255, 159, 10, 0.28);
    color: var(--md-accent);
    font-size: 18px;
    line-height: 1;
}

.md-security-layer-body {
    position: relative;
    z-index: 1;
}

.md-security-layer-num {
    display: block;
    margin-bottom: 6px;
    color: var(--md-accent);
    font-family: var(--medium, inherit);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.md-security-layer-title {
    margin: 0 0 10px;
    color: var(--md-sec-text);
    font-family: var(--bold, inherit);
    font-size: clamp(15px, 1.05vw, 17px);
    line-height: 1.3;
}

.md-security-layer-text {
    margin: 0;
    color: var(--md-sec-muted);
    font-size: 13px;
    line-height: 1.5;
}

.md-security-compliance {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin: 0 auto clamp(28px, 3.5vw, 40px);
}

.md-security-comp-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-align: left;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.md-security-comp-card:hover {
    background: rgba(255, 159, 10, 0.1);
    border-color: rgba(255, 159, 10, 0.35);
    transform: translateY(-2px);
}

.md-security-comp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(255, 159, 10, 0.14);
    border: 1px solid rgba(255, 159, 10, 0.28);
    color: var(--md-accent);
    font-size: 18px;
    line-height: 1;
}

.md-security-comp-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.md-security-comp-title {
    margin: 0;
    color: var(--md-sec-text);
    font-family: var(--bold, inherit);
    font-size: 13px;
    line-height: 1.35;
}

.md-security-comp-text {
    margin: 0;
    color: var(--md-sec-muted);
    font-size: 12px;
    line-height: 1.45;
}

/* =========================================================
   Risk-to-Safeguard Map
   ========================================================= */
.md-risk-map {
    margin-top: clamp(36px, 4.5vw, 56px);
}

.md-risk-map-eyebrow {
    margin: 0 0 16px;
    color: var(--md-accent);
    font-family: var(--bold, inherit);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.md-risk-table-wrap {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    -webkit-overflow-scrolling: touch;
}

.md-risk-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.md-risk-table th,
.md-risk-table td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
    font-size: 14px;
    line-height: 1.5;
}

.md-risk-table thead th {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-family: var(--bold, inherit);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 159, 10, 0.25);
    white-space: nowrap;
}

.md-risk-table tbody td {
    color: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.md-risk-table tbody tr:last-child td {
    border-bottom: 0;
}

.md-risk-table tbody tr:hover td {
    background: rgba(255, 159, 10, 0.05);
}

.md-risk-table tbody td:first-child {
    color: #fff;
    font-family: var(--medium, inherit);
    white-space: nowrap;
}

.md-risk-severity {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-family: var(--medium, inherit);
    white-space: nowrap;
}

.md-risk-severity i {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.md-risk-severity.is-high i {
    background: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.md-risk-severity.is-medium i {
    background: #ff9f0a;
    box-shadow: 0 0 0 3px rgba(255, 159, 10, 0.2);
}

.md-risk-highlights {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 20px;
    margin-top: 16px;
    padding: clamp(18px, 2.4vw, 24px);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(255, 159, 10, 0.12) 0%, transparent 40%),
        rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 159, 10, 0.22);
}

.md-risk-highlight {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.md-risk-highlight strong {
    color: #fff;
    font-family: var(--bold, inherit);
    font-size: 14px;
    line-height: 1.35;
}

.md-risk-highlight span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    line-height: 1.5;
}

/* =========================================================
   Why choose Dev Technosys
   ========================================================= */
.md-why-section {
    --md-why-text: #ffffff;
    --md-why-body: rgba(255, 255, 255, 0.78);
    --md-why-muted: rgba(255, 255, 255, 0.68);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--md-bg);
    color: var(--md-why-text);
}

.md-why-section::before {
    content: "";
    position: absolute;
    inset: -20% -10%;
    z-index: 0;
    background:
        linear-gradient(115deg,
            transparent 0%,
            transparent 38%,
            rgba(255, 159, 10, 0.07) 50%,
            transparent 62%,
            transparent 100%);
    background-size: 220% 100%;
    animation: mdWhyShine 10s linear infinite;
    pointer-events: none;
}

.md-why-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
    animation: mdWhyGridDrift 28s linear infinite;
    pointer-events: none;
}

.md-why-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(2px);
}

.md-why-orb--1 {
    width: 220px;
    height: 220px;
    top: 8%;
    right: -40px;
    background: radial-gradient(circle, rgba(255, 159, 10, 0.28) 0%, transparent 70%);
    animation: mdWhyOrbFloat 9s ease-in-out infinite;
}

.md-why-orb--2 {
    width: 160px;
    height: 160px;
    bottom: 12%;
    left: -30px;
    background: radial-gradient(circle, rgba(255, 159, 10, 0.2) 0%, transparent 70%);
    animation: mdWhyOrbFloat 11s ease-in-out infinite reverse;
}

.md-why-orb--3 {
    width: 90px;
    height: 90px;
    top: 42%;
    left: 18%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: mdWhyOrbFloat 8s ease-in-out infinite 1.2s;
}

.md-why-section .container {
    position: relative;
    z-index: 1;
}

.md-why-head {
    max-width: 900px;
    margin: 0 auto clamp(36px, 4.5vw, 52px);
    text-align: center;
}

.md-why-title {
    margin: 0 0 14px;
    color: var(--md-why-text);
}


.md-why-intro {
    margin: 0 auto;
    max-width: 78ch;
    color: var(--md-why-body);
    line-height: 1.7;
}

.md-why-shell {
    display: grid;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    gap: clamp(18px, 2.5vw, 28px);
    align-items: stretch;
}

.md-why-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 10px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}

.md-why-tab {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--md-why-text);
    font-size: 14px;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.md-why-tab:hover {
    border-color: rgba(255, 159, 10, 0.35);
    background: rgba(255, 255, 255, 0.06);
}

.md-why-tab.is-active {
    background: var(--md-accent);
    border-color: var(--md-accent);
    color: #141212;
}

.md-why-tab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 159, 10, 0.14);
    border: 1px solid rgba(255, 159, 10, 0.28);
    color: var(--md-accent);
    font-size: 17px;
}

.md-why-tab.is-active .md-why-tab-icon {
    background: rgba(20, 18, 18, 0.12);
    border-color: rgba(20, 18, 18, 0.18);
    color: #141212;
}

.md-why-tab-label {
    font-family: var(--medium, inherit);
}

.md-why-panels {
    border-radius: 20px;
    border: 1px solid rgba(255, 159, 10, 0.2);
    background: rgba(255, 255, 255, 0.055);
    padding: clamp(22px, 2.8vw, 32px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
    min-height: 100%;
}

.md-why-panel {
    display: none;
}

.md-why-panel.is-active {
    display: block;
}

.md-why-item-title {
    margin: 0 0 10px;
    color: var(--md-why-text);
    font-family: var(--bold, inherit);
    font-size: clamp(18px, 1.35vw, 22px);
    line-height: 1.3;
}

.md-why-item-text {
    margin: 0 0 14px;
    color: var(--md-why-muted);
    font-size: 15px;
    line-height: 1.7;
}

.md-why-subhead {
    margin: 0 0 10px;
    color: var(--md-accent);
    font-family: var(--medium, inherit);
    font-size: 14px;
    line-height: 1.4;
}

.md-why-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
}

.md-why-points li {
    position: relative;
    padding-left: 16px;
    color: var(--md-why-body);
    font-size: 14px;
    line-height: 1.5;
}

.md-why-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--md-accent);
}

@keyframes mdWhyShine {
    0% {
        background-position: 120% 0;
    }

    100% {
        background-position: -120% 0;
    }
}

@keyframes mdWhyGridDrift {
    0% {
        background-position: 0 0, 0 0;
    }

    100% {
        background-position: 48px 48px, 48px 48px;
    }
}

@keyframes mdWhyOrbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(14px, -18px) scale(1.08);
    }
} 

/* =========================================================
   Pharma Go case study
   ========================================================= */
.md-case-section {
    --md-case-text: #ffffff;
    --md-case-body: rgba(255, 255, 255, 0.78);
    --md-case-muted: rgba(255, 255, 255, 0.58);
    --md-case-border: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    background: var(--md-bg);
    color: var(--md-case-text);
}

.md-case-head {
    max-width: 860px;
    margin: 0 auto clamp(28px, 4vw, 40px);
    text-align: center;
}

.md-case-title {
    margin: 0 0 14px;
    color: var(--md-case-text);
}


.md-case-intro {
    margin: 0 auto;
    max-width: 68ch;
    color: var(--md-case-body);
    line-height: 1.7;
}

.md-case-card { 
    margin: 0 auto;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid var(--md-case-border);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.md-case-card-top {
    padding: clamp(24px, 3.2vw, 34px) clamp(24px, 3.4vw, 38px);
    background:
        radial-gradient(ellipse 55% 90% at 100% 0%, rgba(255, 159, 10, 0.16) 0%, transparent 55%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-bottom: 1px solid var(--md-case-border);
}

.md-case-eyebrow {
    margin: 0 0 10px;
    color: var(--md-accent);
    font-family: var(--bold, inherit);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.md-case-card-title {
    margin: 0 0 14px;
    color: var(--md-case-text);
    font-family: var(--bold, inherit);
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.15;
}

.md-case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

.md-case-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--md-case-muted);
    font-size: 13px;
    line-height: 1.3;
}

.md-case-meta .ti {
    color: var(--md-accent);
    font-size: 15px;
    line-height: 1;
}

.md-case-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    background: transparent;
}

.md-case-col {
    padding: clamp(24px, 3vw, 32px) clamp(20px, 2.6vw, 28px);
}

.md-case-col+.md-case-col {
    border-left: 1px solid var(--md-case-border);
}

.md-case-col-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.md-case-col-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(255, 159, 10, 0.14);
    border: 1px solid rgba(255, 159, 10, 0.28);
    color: var(--md-accent);
    font-size: 16px;
    line-height: 1;
}

.md-case-col-title {
    margin: 0;
    color: var(--md-accent);
    font-family: var(--bold, inherit);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.md-case-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.md-case-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 0;
    color: var(--md-case-body);
    font-size: 14px;
    line-height: 1.55;
}

.md-case-list li .ti {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--md-accent);
    font-size: 16px;
    line-height: 1;
}

.md-case-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: clamp(20px, 2.6vw, 28px) clamp(16px, 2vw, 24px);
    background: transparent;
    border-top: 1px solid var(--md-case-border);
}

.md-case-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    padding: 8px 12px;
}

.md-case-stat+.md-case-stat {
    border-left: 1px solid var(--md-case-border);
}

.md-case-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: rgba(255, 159, 10, 0.14);
    border: 1px solid rgba(255, 159, 10, 0.28);
    color: var(--md-accent);
    font-size: 15px;
    line-height: 1;
}

.md-case-stat strong {
    color: var(--md-case-text);
    font-family: var(--bold, inherit);
    font-size: clamp(18px, 1.8vw, 20px);
    font-weight: normal;
    line-height: 1.2;
}

.md-case-stat span:last-child {
    color: var(--md-case-muted);
    font-size: 13px;
    line-height: 1.35;
}

/* =========================================================
   Custom vs White-Label path comparison
   ========================================================= */
.md-path-section {
    --md-path-text: #ffffff;
    --md-path-body: rgba(255, 255, 255, 0.78);
    --md-path-muted: rgba(255, 255, 255, 0.58);
    --md-path-border: rgba(255, 255, 255, 0.1);
    --md-path-pro: #41c979;
    --md-path-con: #f87171;
    position: relative;
    overflow: hidden; 
    color: var(--md-path-text); 
}

.md-path-head {
    max-width: 860px;
    margin: 0 auto clamp(28px, 4vw, 40px);
    text-align: center;
}

.md-path-title {
    margin: 0 0 14px;
    color: var(--md-path-text);
}


.md-path-intro {
    margin: 0 auto;
    max-width: 70ch;
    color: var(--md-path-body);
    line-height: 1.7;
}

.md-path-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: clamp(24px, 3.5vw, 36px);
}

.md-path-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: clamp(22px, 2.8vw, 30px);
    border-radius: 20px;
    border: 1px solid var(--md-path-border);
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.md-path-card--accent {
    border-color: rgba(255, 159, 10, 0.45);
    background:
        linear-gradient(160deg, rgba(255, 159, 10, 0.1) 0%, transparent 42%),
        rgba(255, 255, 255, 0.04);
}

.md-path-card:hover {
    border-color: rgba(255, 159, 10, 0.4);
    background:
        linear-gradient(160deg, rgba(255, 159, 10, 0.08) 0%, transparent 40%),
        rgba(255, 255, 255, 0.055);
    transform: translateY(-3px);
}

.md-path-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 159, 10, 0.14);
    border: 1px solid rgba(255, 159, 10, 0.28);
    color: var(--md-accent);
    font-size: 20px;
    line-height: 1;
}

.md-path-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 159, 10, 0.14);
    color: var(--md-accent);
    font-family: var(--bold, inherit);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.md-path-card-title {
    margin: 0;
    color: var(--md-path-text);
    font-family: var(--bold, inherit);
    font-size: clamp(20px, 1.8vw, 24px);
    line-height: 1.25;
}

.md-path-card-text {
    margin: 0;
    color: var(--md-path-body);
    font-size: 14px;
    line-height: 1.6;
}

.md-path-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 4px;
}

.md-path-side h4 {
    margin: 0 0 10px;
    font-family: var(--bold, inherit);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.md-path-side--pro h4 {
    color: var(--md-path-pro);
}

.md-path-side--con h4 {
    color: var(--md-path-con);
}

.md-path-side ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.md-path-side li {
    position: relative;
    margin: 0;
    padding-left: 14px;
    color: var(--md-path-body);
    font-size: 13px;
    line-height: 1.45;
}

.md-path-side li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.md-path-side--pro li::before {
    background: var(--md-path-pro);
}

.md-path-side--con li::before {
    background: var(--md-path-con);
}

.md-path-table-wrap {
    overflow-x: auto;
    margin-bottom: clamp(28px, 4vw, 40px);
    border-radius: 16px;
    border: 1px solid var(--md-path-border);
    background: rgba(255, 255, 255, 0.03);
    -webkit-overflow-scrolling: touch;
}

.md-path-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

.md-path-table th,
.md-path-table td {
    padding: 14px 18px;
    text-align: left;
    vertical-align: top;
    font-size: 14px;
    line-height: 1.5;
}

.md-path-table thead th {
    background: rgba(255, 159, 10, 0.12);
    color: var(--md-path-text);
    font-family: var(--bold, inherit);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--md-path-border);
}

.md-path-table tbody td {
    color: var(--md-path-body);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.md-path-table tbody td:first-child {
    color: var(--md-path-text);
    font-family: var(--medium, inherit);
    white-space: nowrap;
}

.md-path-table tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.025);
}

.md-path-table tbody tr:last-child td {
    border-bottom: 0;
}

.md-path-guide {
    margin-bottom: clamp(24px, 3vw, 32px);
}

.md-path-guide-eyebrow {
    margin: 0 0 16px;
    color: var(--md-accent);
    font-family: var(--bold, inherit);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
}

.md-path-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.md-path-guide-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: clamp(18px, 2.4vw, 24px);
    border-radius: 16px;
    border: 1px dashed rgba(255, 159, 10, 0.35);
    background: rgba(255, 255, 255, 0.03);
}

.md-path-guide-card--wide {
    grid-column: 1 / -1;
}

.md-path-guide-title {
    margin: 0;
    color: var(--md-path-text);
    font-family: var(--bold, inherit);
    font-size: 16px;
    line-height: 1.35;
}

.md-path-guide-text {
    margin: 0;
    color: var(--md-path-body);
    font-size: 14px;
    line-height: 1.55;
}

.md-path-guide-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    color: var(--md-accent);
    font-family: var(--bold, inherit);
    font-size: 14px;
}

.md-path-guide-link .ti {
    font-size: 16px;
    line-height: 1;
}

.md-path-advice {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: clamp(18px, 2.4vw, 24px);
    border-radius: 16px;
    border: 1px solid rgba(255, 159, 10, 0.28);
    border-left: 4px solid var(--md-accent);
    background: rgba(255, 159, 10, 0.08);
}

.md-path-advice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 159, 10, 0.14);
    border: 1px solid rgba(255, 159, 10, 0.28);
    color: var(--md-accent);
    font-size: 20px;
    line-height: 1;
}

.md-path-advice-text {
    margin: 0 0 8px;
    color: var(--md-path-body);
    font-size: 15px;
    line-height: 1.65;
}

.md-path-advice-text strong {
    color: var(--md-path-text);
    font-family: var(--bold, inherit);
    font-weight: normal;
}

.md-path-advice-author {
    margin: 0;
    color: var(--md-accent);
    font-family: var(--medium, inherit);
    font-size: 13px;
}

/* =========================================================
   Cost, timeline & budget breakdown
   ========================================================= */
.md-cost-section {
    --md-cost-text: #ffffff;
    --md-cost-body: rgba(255, 255, 255, 0.78);
    --md-cost-muted: rgba(255, 255, 255, 0.58);
    --md-cost-border: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    background: var(--md-bg);
    color: var(--md-cost-text); 
}

.md-cost-head {
    max-width: 900px;
    margin: 0 auto clamp(28px, 4vw, 40px);
    text-align: center;
}

.md-cost-title {
    margin: 0 0 14px;
    color: var(--md-cost-text);
}


.md-cost-intro {
    margin: 0 auto;
    max-width: 74ch;
    color: var(--md-cost-body);
    line-height: 1.7;
}

.md-cost-timeline {
    list-style: none;
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 clamp(32px, 4vw, 48px);
    padding: 0;
}

.md-cost-timeline::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 10px;
    height: 2px;
    background: rgba(255, 255, 255, 0.12);
}

.md-cost-timeline-item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    padding-top: 0;
}

.md-cost-timeline-dot {
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.9);
    border: 3px solid var(--md-accent);
    box-shadow: 0 0 0 4px rgba(255, 159, 10, 0.18);
}

.md-cost-timeline-label {
    color: var(--md-cost-text);
    font-family: var(--bold, inherit);
    font-size: 14px;
    font-weight: normal;
    line-height: 1.3;
}

.md-cost-timeline-text {
    max-width: 18ch;
    color: var(--md-cost-muted);
    font-size: 13px;
    line-height: 1.45;
}

.md-cost-packages {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: clamp(32px, 4vw, 48px);
    align-items: stretch;
}

.md-cost-package {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: clamp(22px, 2.6vw, 28px);
    border-radius: 18px;
    border: 1px solid var(--md-cost-border);
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.md-cost-package:hover {
    border-color: rgba(255, 159, 10, 0.35);
    background: rgba(255, 255, 255, 0.055);
    transform: translateY(-3px);
}

.md-cost-package--popular {
    border-color: rgba(255, 159, 10, 0.55);
    background:
        linear-gradient(165deg, rgba(255, 159, 10, 0.12) 0%, transparent 42%),
        rgba(255, 255, 255, 0.04);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.md-cost-package-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--md-accent);
    color: #111;
    font-family: var(--bold, inherit);
    font-size: 11px;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.md-cost-package-name {
    margin: 4px 0 0;
    color: var(--md-cost-text);
    font-family: var(--bold, inherit);
    font-size: clamp(18px, 1.5vw, 22px);
    line-height: 1.25;
}

.md-cost-package-for {
    margin: 0;
    color: var(--md-cost-muted);
    font-size: 13px;
    line-height: 1.4;
}

.md-cost-package-price {
    margin: 6px 0 0;
    color: var(--md-accent);
    font-family: var(--bold, inherit);
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.2;
}

.md-cost-package-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: var(--md-cost-body);
    font-size: 13px;
}

.md-cost-package-time .ti {
    color: var(--md-accent);
    font-size: 15px;
    line-height: 1;
}

.md-cost-package-list {
    list-style: none;
    margin: 8px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--md-cost-border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.md-cost-package-list li {
    position: relative;
    margin: 0;
    padding-left: 16px;
    color: var(--md-cost-body);
    font-size: 14px;
    line-height: 1.45;
}

.md-cost-package-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--md-accent);
}

.md-cost-budget {
    max-width: 920px;
    margin: 0 auto clamp(24px, 3vw, 32px);
}

.md-cost-budget-eyebrow {
    margin: 0 0 18px;
    color: var(--md-accent);
    font-family: var(--bold, inherit);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
}

.md-cost-budget-wrap {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid var(--md-cost-border);
    background: rgba(255, 255, 255, 0.03);
    -webkit-overflow-scrolling: touch;
}

.md-cost-budget-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
}

.md-cost-budget-table th,
.md-cost-budget-table td {
    padding: 14px 18px;
    text-align: left;
    vertical-align: middle;
    font-size: 14px;
    line-height: 1.45;
}

.md-cost-budget-table thead th {
    background: rgba(255, 159, 10, 0.12);
    color: var(--md-cost-text);
    font-family: var(--bold, inherit);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--md-cost-border);
}

.md-cost-budget-table thead th:last-child {
    width: 42%;
}

.md-cost-budget-table tbody td {
    color: var(--md-cost-body);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.md-cost-budget-table tbody td:first-child {
    color: var(--md-cost-text);
    font-family: var(--medium, inherit);
}

.md-cost-budget-table tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.025);
}

.md-cost-budget-table tbody tr:last-child td {
    border-bottom: 0;
}

.md-cost-budget-share {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 12px;
    align-items: center;
}

.md-cost-budget-track {
    display: block;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.md-cost-budget-track i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--md-accent-dark), var(--md-accent));
}

.md-cost-budget-track i.is-5 {
    width: 5%;
}

.md-cost-budget-track i.is-10 {
    width: 10%;
}

.md-cost-budget-track i.is-15 {
    width: 15%;
}

.md-cost-budget-track i.is-20 {
    width: 20%;
}

.md-cost-budget-track i.is-25 {
    width: 25%;
}

.md-cost-budget-share strong {
    color: var(--md-accent);
    font-family: var(--bold, inherit);
    font-size: 14px;
    font-weight: normal;
    text-align: right;
}

.md-cost-note {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    color: var(--md-cost-muted);
    font-size: 14px;
    line-height: 1.65;
}

.streaming-app-panels-section {
    background: var(--md-bg);
}

/* =========================================================
   Responsive — consolidated (do not scatter media queries)
   ========================================================= */

@media (max-width: 1200px) {

    .md-stack-pills li img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 991px) {
    .md-stats-shell {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .md-stats-left {
        position: static;
    }

    .md-stats-intro {
        max-width: 72ch;
    }

    .md-solutions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md-solutions-card,
    .md-solutions-card:nth-child(4),
    .md-solutions-card:nth-child(5) {
        grid-column: auto;
    }

    .md-industries-shell {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .md-industries-tabs {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        padding: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .md-industries-tab {
        flex: 0 0 auto;
        width: auto;
        white-space: nowrap;
        justify-content: center;
    }

    .md-process-shell {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .md-process-head {
        position: static;
    }

    .md-process-intro {
        max-width: 72ch;
    }

    .md-tech-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md-security-compliance {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .md-risk-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md-why-shell {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .md-why-tabs {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .md-why-tab {
        flex: 0 0 auto;
        width: auto;
        white-space: nowrap;
    }

    .md-case-cols {
        grid-template-columns: 1fr;
    }

    .md-case-col+.md-case-col {
        border-left: 0;
        border-top: 1px solid var(--md-case-border);
    }

    .md-case-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 0;
    }

    .md-case-stat:nth-child(2n + 1) {
        border-left: 0;
    }

    .md-case-stat:nth-child(n + 3) {
        border-top: 1px solid var(--md-case-border);
    }

    .md-path-cards {
        grid-template-columns: 1fr;
    }

    .md-cost-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 16px;
    }

    .md-cost-timeline::before {
        display: none;
    }

    .md-market-cta {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .md-market-cta-visual {
        order: -1;
        min-height: 0;
        padding: 24px 24px 0;
    }

    .md-market-cta-visual img {
        height: clamp(240px, 42vw, 320px);
    }

    .md-market-cta-content {
        align-items: center;
        padding: 12px 28px 32px;
        text-align: center;
    }

    .md-market-cta-title {
        max-width: 30ch;
        text-align: center;
    }

    .md-stack-switcher {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .md-stack-nav {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        padding: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .md-stack-tab {
        flex: 0 0 auto;
        width: auto;
        white-space: nowrap;
    }

    .md-stack-panel {
        min-height: 320px;
    }

    .md-stack-pills {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .md-stack-pills li {
        min-height: 120px;
        padding: 18px 12px;
    }
}

@media (max-width: 767px) {
    .md-industries-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .md-industries-panels {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .md-stack-switcher {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .md-stack-nav {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        padding: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .md-stack-tab {
        flex: 0 0 auto;
        width: auto;
        white-space: nowrap;
        padding: 10px 12px;
        font-size: 13px;
    }

    .md-stack-panels {
        min-height: 0;
    }

    .md-stack-panel {
        min-height: 0;
        padding: 18px 16px;
    }

    .md-stack-panel-title {
        font-size: 18px;
    }

    .md-cost-packages {
        grid-template-columns: 1fr;
        margin-left: auto;
        margin-right: auto;
    }


    .md-stack-panel-head {
        margin-bottom: 14px;
    }

    .md-stack-panel-icon {
        width: 36px;
        height: 36px;
        font-size: 17px;
    }

    .md-stack-pills {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .md-stack-pills li {
        min-height: 110px;
        padding: 16px 12px;
        gap: 10px;
    }

    .md-stack-pills li span {
        font-size: 13px;
    }

    .md-security-layers {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .md-security-layer {
        padding: 14px 16px;
    }

    .md-security-compliance {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-bottom: 28px;
    }

    .md-security-comp-card {
        padding: 14px;
        gap: 10px;
    }

    .md-why-points {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .md-why-panels {
        padding: 18px 16px;
        border-radius: 16px;
    }

    .md-path-split,
    .md-path-guide-grid {
        grid-template-columns: 1fr;
    }

    .md-path-guide-card--wide {
        grid-column: auto;
    }

    .md-path-advice {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .md-path-table th,
    .md-path-table td {
        padding: 12px 14px;
        font-size: 13px;
    }

    .md-cost-timeline {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .md-cost-timeline-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 12px;
    }

    .md-cost-timeline-dot {
        margin-top: 2px;
        flex-shrink: 0;
    }

    .md-cost-timeline-text {
        max-width: none;
    }

    .md-cost-budget-table th,
    .md-cost-budget-table td {
        padding: 12px 14px;
        font-size: 13px;
    }

    .md-cost-budget-share {
        grid-template-columns: minmax(0, 1fr) 40px;
        gap: 8px;
    }
}

@media (max-width: 575px) {
    .md-stats-grid {
        gap: 14px;
    }

    .md-stats-card {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .md-stats-num {
        font-size: 26px;
    }

    .md-stats-badges {
        gap: 8px;
    }

    .md-stats-badge {
        min-height: 32px;
        padding: 6px 12px;
        font-size: 12px;
    }

    .md-solutions-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .md-solutions-card {
        padding: 20px 18px;
        border-radius: 16px;
    }

    .md-cta-card {
        border-radius: 20px;
        padding: 36px 18px;
    }

    .md-cta-shape {
        display: none;
    }

    .md-cta-content {
        gap: 12px;
    }

    .md-cta-btn {
        width: 100%;
    }

    .md-market-cta {
        grid-template-columns: 1fr;
        min-height: 0;
        text-align: center;
    }

    .md-market-cta-visual {
        order: -1;
        min-height: 0;
        padding: 20px 20px 0;
        justify-content: center;
    }

    .md-market-cta-visual img {
        height: clamp(220px, 55vw, 300px);
    }

    .md-market-cta-content {
        align-items: center;
        padding: 8px 24px 28px;
    }

    .md-market-cta-title {
        max-width: 28ch;
        text-align: center;
    }

    .md-banner-cta__shell {
        border-radius: 20px;
    }

    .md-banner-cta__panel {
        padding: 36px 20px;
        gap: 14px;
    }

    .md-banner-cta__btn {
        width: 100%;
    }

    .md-banner-cta__ring {
        right: -28%;
        opacity: 0.55;
    }

    .md-process-timeline::before {
        left: 19px;
    }

    .md-process-step {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 14px;
        padding-bottom: 32px;
    }

    .md-process-marker {
        width: 40px;
        height: 40px;
        box-shadow:
            0 6px 16px rgba(255, 159, 10, 0.3),
            0 0 0 4px rgba(255, 159, 10, 0.12);
    }

    .md-process-marker i {
        font-size: 18px;
    }

    .md-process-step-text {
        font-size: 14px;
    }

    .md-process-tag,
    .md-process-duration {
        font-size: 12px;
        padding: 6px 12px;
    }

    .md-tech-rail {
        gap: 10px 12px;
    }

    .md-tech-rail-btn {
        min-width: 72px;
    }

    .md-tech-rail-icon {
        width: 54px;
        height: 54px;
        font-size: 20px;
    }

    .md-tech-rail-label {
        font-size: 12px;
    }

    .md-tech-stage {
        border-radius: 18px;
    }

    .md-tech-panel {
        padding: 24px 18px;
    }

    .md-tech-panel-title {
        font-size: 20px;
    }

    .md-tech-features {
        grid-template-columns: 1fr;
    }

    .md-platforms-list {
        gap: 8px;
    }

    .md-platforms-list li {
        padding: 9px 12px;
        font-size: 13px;
        border-radius: 10px;
    }

    .md-platforms-list li .ti {
        font-size: 15px;
    }

    .md-risk-highlights {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .md-case-card {
        border-radius: 18px;
    }

    .md-case-card-top {
        padding: 22px 18px;
    }

    .md-case-stats {
        grid-template-columns: 1fr 1fr;
    }

    .md-case-stat strong {
        font-size: 18px;
    }
}

@media (max-width: 420px) {
    .md-security-compliance {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {

    .md-cta-shape--1,
    .md-cta-shape--2,
    .md-cta-shape--3 {
        animation: none;
    }

    .md-cta-shape--1 {
        transform: rotate(-18deg);
    }

    .md-cta-shape--2 {
        transform: rotate(14deg);
    }

    .md-cta-shape--3 {
        transform: rotate(-12deg);
    }

    .md-banner-cta__orb,
    .md-banner-cta__ring,
    .md-banner-cta__btn::before {
        animation: none;
    }

    .md-why-section::before,
    .md-why-section::after,
    .md-why-orb {
        animation: none;
    }
}
/* —— MVP Resources Section (from ecommerce-development.css) —— */
.mvp-resources-section {
    --mvp-res-accent: var(--primary-colors-orange);
    --mvp-res-accent-dark: var(--primary-colors-orange-dark);
    --mvp-res-text: var(--white-scale-900);
    --mvp-res-muted: var(--white-scale-700);
    --mvp-res-body: var(--black-scale-300);
    --mvp-res-surface: var(--background-bg-body);
    --mvp-res-block: var(--background-bg-block);
    --mvp-res-border: var(--white-scale-200);
    position: relative;
    background: linear-gradient(180deg, var(--mvp-res-block) 0%, var(--mvp-res-surface) 100%);
    overflow: hidden;
}

.mvp-resources-section--dark {
    --mvp-res-text: #fff;
    --mvp-res-muted: color-mix(in oklab, #fff 72%, transparent);
    --mvp-res-body: color-mix(in oklab, #fff 78%, transparent);
    --mvp-res-surface: #14141c;
    --mvp-res-block: #111118;
    --mvp-res-border: color-mix(in oklab, #fff 12%, transparent);
    --mvp-res-bg: #0a0a0f;
    background: var(--mvp-res-bg);
    box-shadow: inset 0 1px 0 color-mix(in oklab, #fff 6%, transparent);
}

.mvp-resources-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 40% at 100% 0%, color-mix(in oklab, var(--mvp-res-accent) 6%, transparent), transparent 58%);
    pointer-events: none;
}

.mvp-resources-section--dark::before {
    background:
        linear-gradient(color-mix(in oklab, #fff 3%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in oklab, #fff 3%, transparent) 1px, transparent 1px),
        radial-gradient(ellipse 50% 45% at 100% 0%, color-mix(in oklab, var(--mvp-res-accent) 14%, transparent), transparent 58%),
        radial-gradient(ellipse 42% 38% at 0% 100%, color-mix(in oklab, var(--mvp-res-accent) 8%, transparent), transparent 55%);
    background-size: 48px 48px, 48px 48px, auto, auto;
    mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 25%, transparent 78%);
    opacity: 0.4;
}

.mvp-resources-section--dark::after {
    content: "";
    position: absolute;
    width: min(520px, 55vw);
    height: min(520px, 55vw);
    top: -180px;
    left: -120px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in oklab, var(--mvp-res-accent) 12%, transparent) 0%, transparent 68%);
    pointer-events: none;
    opacity: 0.85;
}

.mvp-resources-section .container {
    position: relative;
    z-index: 1;
}

.mvp-resources-head {
    max-width: 760px;
    margin: 0 auto clamp(36px, 4.5vw, 52px);
    text-align: center;
}

.mvp-resources-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--mvp-res-muted);
    font-family: var(--medium);
    font-size: clamp(11px, 0.85vw, 12px);
    line-height: 1.35;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mvp-resources-section--dark .mvp-resources-eyebrow {
    padding: 8px 18px;
    border-radius: 999px;
    background: color-mix(in oklab, var(--mvp-res-accent) 14%, transparent);
    border: 1px solid color-mix(in oklab, var(--mvp-res-accent) 28%, transparent);
    color: var(--mvp-res-accent);
    box-shadow: 0 8px 24px color-mix(in oklab, #000 22%, transparent);
}

.mvp-resources-eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mvp-res-accent);
    box-shadow: 0 0 12px color-mix(in oklab, var(--mvp-res-accent) 45%, transparent);
    flex-shrink: 0;
}

.mvp-resources-section--dark .mvp-resources-eyebrow::before {
    display: none;
}

.mvp-resources-title {
    margin: 0 0 14px;
    color: var(--mvp-res-text);
    font-size: clamp(28px, 2.85vw, 42px) !important;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.mvp-resources-section--dark .mvp-resources-title {
    text-shadow: 0 12px 40px color-mix(in oklab, #000 35%, transparent);
}

.mvp-resources-desc {
    margin: 0 auto;
    max-width: 680px;
    color: var(--mvp-res-body);
    font-size: clamp(15px, 1.02vw, 17px);
    line-height: 1.75;
}

.mvp-resources-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(16px, 2vw, 22px);
    align-items: stretch;
}

.mvp-resources-col {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: clamp(22px, 2.4vw, 28px);
    border-radius: 20px;
    background: var(--mvp-res-surface);
    border: 1px solid var(--mvp-res-border);
    box-shadow: 0 12px 32px color-mix(in oklab, var(--mvp-res-text) 4%, transparent);
}

.mvp-resources-section--dark .mvp-resources-col {
    background: color-mix(in oklab, var(--mvp-res-surface) 88%, #000);
    border-color: color-mix(in oklab, #fff 10%, transparent);
    box-shadow:
        0 1px 0 color-mix(in oklab, #fff 8%, transparent) inset,
        0 16px 40px color-mix(in oklab, #000 35%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.mvp-resources-col-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: clamp(18px, 2vw, 22px);
    padding-bottom: clamp(16px, 1.8vw, 20px);
    border-bottom: 1px solid color-mix(in oklab, var(--mvp-res-border) 90%, transparent);
}

.mvp-resources-section--dark .mvp-resources-col-head {
    border-bottom-color: color-mix(in oklab, #fff 8%, transparent);
}

.mvp-resources-col-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: color-mix(in oklab, var(--mvp-res-accent) 10%, var(--mvp-res-surface));
    border: 1px solid color-mix(in oklab, var(--mvp-res-accent) 20%, transparent);
    color: var(--mvp-res-accent);
    font-size: 22px;
    line-height: 1;
}

.mvp-resources-section--dark .mvp-resources-col-icon {
    background: color-mix(in oklab, var(--mvp-res-accent) 14%, transparent);
    border-color: color-mix(in oklab, var(--mvp-res-accent) 30%, transparent);
    box-shadow: 0 8px 20px color-mix(in oklab, var(--mvp-res-accent) 12%, transparent);
}

.mvp-resources-col-icon i {
    display: block;
    line-height: 1;
}

.mvp-resources-col-title {
    margin: 0;
    color: var(--mvp-res-text);
    font-size: clamp(17px, 1.15vw, 20px) !important;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.mvp-resources-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(7, auto);
    grid-auto-flow: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mvp-resources-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: color-mix(in oklab, var(--mvp-res-block) 55%, var(--mvp-res-surface));
    color: var(--mvp-res-text) !important;
    font-size: clamp(13px, 0.92vw, 15px);
    line-height: 1.45;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.mvp-resources-section--dark .mvp-resources-link {
    background: color-mix(in oklab, #fff 4%, transparent);
    border-color: color-mix(in oklab, #fff 6%, transparent);
    color: color-mix(in oklab, #fff 92%, transparent) !important;
}

.mvp-resources-link span {
    flex: 1;
    min-width: 0;
}

.mvp-resources-link i {
    flex-shrink: 0;
    color: var(--mvp-res-accent);
    font-size: 16px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.mvp-resources-link:hover {
    border-color: color-mix(in oklab, var(--mvp-res-accent) 24%, var(--mvp-res-border));
    background: color-mix(in oklab, var(--mvp-res-accent) 6%, var(--mvp-res-surface));
    box-shadow: 0 8px 20px color-mix(in oklab, var(--mvp-res-accent) 8%, transparent);
    transform: translateX(3px);
}

.mvp-resources-section--dark .mvp-resources-link:hover {
    border-color: color-mix(in oklab, var(--mvp-res-accent) 35%, transparent);
    background: color-mix(in oklab, var(--mvp-res-accent) 12%, transparent);
    box-shadow: 0 8px 24px color-mix(in oklab, var(--mvp-res-accent) 14%, transparent);
    color: #fff !important;
}

.mvp-resources-link:hover i {
    transform: translateX(2px);
}

@media (max-width: 991px) {
    .mvp-resources-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .mvp-resources-list {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-flow: row;
    }
}

@media (max-width: 575px) {
    .mvp-resources-col {
        padding: 18px 16px;
        border-radius: 16px;
    }

    .mvp-resources-link {
        padding: 11px 12px;
    }
}
